// stk_lidar_io.h

#ifndef DODO_YL_LIDAR_IO_H
#define DODO_YL_LIDAR_IO_H

#include <iostream>
#include <fstream>
#include <stdexcept>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <quigon.h>
#include "stk_para.h"
#include "yl_lidar.h"

namespace quigon
{

typedef STK_Para YL_Para;  //YL_Para is basically the same.
//This is a override version of template<class T> FromFileToLine() in general_io.h
template<> bool file_to_line<YL_Line, YL_Para>(std::istream &file, YL_Line &line, const YL_Para& para) ;

//YL_Line test_file(const std::string& filename);

template<> bool examine_file<YL_Line, YL_Para>(
        const std::string &filename,
        const YL_Para& para,
        const boost::posix_time::time_period& target_period
);

}

#endif

